package com.vrms.app.service;


import com.vrms.app.entity.Problem;

import java.util.List;

public interface ProblemService {
    List<Problem> listPage(int page,
                           int size,
                           String type);
    int count(String type);

    boolean save(Problem problem);

    boolean update(Problem problem);

    boolean remove(int id);

    List<Problem> list();
}
